<ion-view view-title="地理位置">
    <ion-content>
        <div class="list">
            <button class="button button-block button-outline button-royal" ng-click="$ctrl.get()">获取位置</button>
            <div class="item item-body">
                <p ng-bind="$ctrl.currentPosition | json"></p>
            </div>
            <div class="item">
                <div class="button-bar bar-light">
                    <button class="button" ng-click="$ctrl.watch()">watch</button>
                    <button class="button" ng-click="$ctrl.clearWatch()">clear watch</button>
                </div>
            </div>
            <div class="item item-body">
                <p ng-bind="$ctrl.geolocations | json"></p>
            </div>
        </div>
    </ion-content>
</ion-view>